<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>验证码通知 - Photon Yao - Notes</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }

        .container {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: #ffffff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }

        h1 {
            color: #333333;
            font-size: 20px;
            margin-bottom: 10px;
        }

        p {
            color: #666666;
            font-size: 14px;
            line-height: 1.5;
            margin-bottom: 15px;
        }

        .code {
            display: inline-block;
            padding: 6px 16px;
            background-color: #007bff;
            color: #ffffff;
            font-size: 16px;
            font-weight: bold;
            border-radius: 5px;
        }

        .footer {
            color: #999999;
            font-size: 10px;
            margin-top: 30px;
        }

        .footer p {
            line-height: 1;
            font-size: 12px;
            margin-bottom: 4px;
        }

        .footer a {
            color: #007bff;
            text-decoration: none;
        }

        /* 夜间模式适配 */
        @media (prefers-color-scheme: dark) {
            body {
                background-color: #121212;
            }

            .container {
                background-color: #1e1e1e;
                box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
            }

            h1 {
                color: #ffffff;
            }

            p {
                color: #cccccc;
            }

            .code {
                background-color: #1a73e8;
            }

            .footer {
                color: #aaaaaa;
            }

            .footer a {
                color: #1a73e8;
            }
        }
    </style>
</head>
<body>
<div class="container">
    <h1>验证码通知</h1>
    <p>尊敬的用户：</p>
    <p>您正在尝试登录，本次操作的验证码为：</p>
    <div class="code">${verificationCode}</div>
    <p><b>验证码有效期为3分钟</b>，请尽快完成验证。若非本人操作，请忽略此邮件。</p>
    <div class="footer">
        <p>博客：Photon Yao - Notes</p>
        <p>网址：<a href="https://blog.kangyaocoding.top">https://blog.kangyaocoding.top</a></p>
        <p>© 2025 Photon Yao - Notes</p>
    </div>
</div>
</body>
</html>
